﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Meqs.Entity
{
    [Serializable]
    public class SecurityRole
    {
        private int _rID;
        private String _caption;
        private String _roleKey;
        private String _schoolMark;
        private int _type;

        public int RID
        {
            get { return this._rID; }
            set { this._rID = value; }
        }

        public string Caption
        {
            get { return this._caption; }
            set { this._caption = value; }
        }

        public string RoleKey
        {
            get { return this._roleKey; }
            set { this._roleKey = value; }
        }

        public string SchoolMark
        {
            get { return this._schoolMark; }
            set { this._schoolMark = value; }
        }

        public int Type
        {
            get { return this._type; }
            set { this._type = value; }
        }
    }

    /// <summary>
    /// 角色关键字枚举
    /// </summary>
    public enum RoleKeyEnum
    {
        School_Header = 1,      // 校长
        Teach_Director,         // 教务处工作人员
        Moral_Director,         // 德育处工作人员
        Politics_Worker,        // 行政人员
        Teach_Helper,           // 教学辅助人员
        Subject_Director,       // 教研组长
        Grade_Director,         // 年级组长
        GradeSubject_Director,  // 备课组长
        Class_Header,           // 班主任
        Class_Teacher           // 任课教师
    }
    //#region 角色关键字
    ///// <summary>
    ///// 校长
    ///// </summary>
    //public const string School_Header = "School_Header";
    ///// <summary>
    ///// 教务处工作人员
    ///// </summary>
    //public const string Teach_Director = "Teach_Director";
    ///// <summary>
    ///// 德育处工作人员
    ///// </summary>
    //public const string Moral_Director = "Moral_Director";
    ///// <summary>
    ///// 行政人员
    ///// </summary>
    //public const string Politics_Worker = "Politics_Worker";
    ///// <summary>
    ///// 教学辅助人员
    ///// </summary>
    //public const string Teach_Helper = "Teach_Helper";
    ///// <summary>
    ///// 教研组长
    ///// </summary>
    //public const string Subject_Director = "Subject_Director";
    ///// <summary>
    ///// 年级组长
    ///// </summary>
    //public const string Grade_Director = "Grade_Director";
    ///// <summary>
    ///// 备课组长
    ///// </summary>
    //public const string GradeSubject_Director = "GradeSubject_Director";
    ///// <summary>
    ///// 班主任
    ///// </summary>
    //public const string Class_Header = "Class_Header";
    ///// <summary>
    ///// 任课教师
    ///// </summary>
    //public const string Class_Teacher = "Class_Teacher";

    //#endregion
}
